package cn.usian.jyzx.order.fegin;

import cn.usian.jyzx.model.entity.product.ProductSku;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 11 08 09 13
 **/

@FeignClient("product-service")
public interface ProductFegin {
    @GetMapping("/api/product/findById/{skuId}")
    public ProductSku findById(@PathVariable("skuId") Long skuId);
}
